-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small cloudbuster fixes #1279
Small cloudbuster fixes #1279
Conversation
12e0178
to
2f62f3f
Compare
Remediation: [Documentation](https://example.com)`, | ||
}); | ||
}); | ||
it('should return nothing if the first observed date is older than the cut-off', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be a nice candidate for property-based testing. No need to do it here, but if you're interested to look at doing that together at any point we can drop fast-check into the project and try it out?
a21087f
to
d0fcdc9
Compare
458829a
to
d0fcdc9
Compare
f854bf6
to
0ea89ae
Compare
return [ | ||
{ | ||
cta: `View all findings on Grafana`, | ||
url: `https://metrics.gutools.co.uk/d/ddi3x35x70jy8d?var-account_name=${encodeURIComponent(aws_account_name)}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be nice to pass in the dashboard name as a param to make it easier to parse as a human
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand what you mean by dashboard name? Or what would be easier to parse?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant this bit: ddi3x35x70jy8d
- maybe we could have a var called fsbpCompliance
or somesuch in its place (since it's already a template string) - just to make it easier to see where it goes at a glance? Not that important though!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
What does this change?
This PR is probably a bit easier to understand commit by commit.
How has it been verified?